package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Case {
    private int case_id;
    private String patients_name;
    private String case_condition;
    private String doctor_name;
    private String doctor_id;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date date;

    public int getCase_id() {
        return case_id;
    }

    public void setCase_id(int case_id) {
        this.case_id = case_id;
    }

    public String getPatients_name() {
        return patients_name;
    }

    public void setPatients_name(String patients_name) {
        this.patients_name = patients_name;
    }


    public String getDoctor_name() {
        return doctor_name;
    }

    public void setDoctor_name(String doctor_name) {
        this.doctor_name = doctor_name;
    }


    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getCase_condition() {
        return case_condition;
    }

    public void setCase_condition(String case_condition) {
        this.case_condition = case_condition;
    }

    public String getDoctor_id() {
        return doctor_id;
    }

    public void setDoctor_id(String doctor_id) {
        this.doctor_id = doctor_id;
    }

    @Override
    public String toString() {
        return "Case{" +
                "case_id=" + case_id +
                ", patients_name='" + patients_name + '\'' +
                ", case_condition='" + case_condition + '\'' +
                ", doctor_name='" + doctor_name + '\'' +
                ", doctor_id='" + doctor_id + '\'' +
                ", date=" + date +
                '}';
    }
}

